package xyz.lwm.lazycat.ds;

import javax.sql.DataSource;

/**
 * provide datasource
 *
 * @author lwm
 */
public interface DatasourceProvider {

    /**
     * init datasource
     *
     * @param properties datasource properties
     * @return datasource
     */
    DataSource getDatasource(DatasourceProperties properties);

}
